import { get,post } from './api'
export const Http = {
  //签名
  signaTure(params) {
    return post('/getSign',params)
  },
  //支付
  pay(params) {
    return post('/user/v1/dredgeMember', params)
  },
  //banner列表
  bannerImg(params) {
    return post('/banner/v1/getBannerList', params)
  },
  //通知列表
  inform(params) {
    return post('/article/v1/getNoticeList', params)
  },
  //订单列表
  getCardOrderList(params) {
    return post('/order/v1/getCardOrderList', params)
  },
  //个人中心接口
  getMineInfo(params) {
    return post('/user/v1/getMyCenter', params)
  },
  //获取排行榜
  getRankList(params) {
    return post('/gainStatistics/v1/getRankingList', params)
  },
  //获取贷款列表
  getLoansList(params) {
    return post('/loan/v1/getLoanList', params)
  },
  //获取渠道url
  getLinkUrl(params) {
    return post('/loan/v1/getApplyUrl', params)
  },
  //获取验证码
  getCode (params) {
    return post('/sms/v1/sendSms', params)
  },
  //验证身份
  postAuthentication(params) {
    return post('/user/v1/perfectInfo', params)
  },
  getAllBank (params) {
    return post('/bankConfig/v1/getBankConfigList', params)
  },
  getAllCredit (params) {
    return post('/bankConfig/v1/getCreditList', params)
  },
  getBankOrCreditUrl (params) {
    return post('/order/v1/createCardOrder', params)
  }
};
